package com.peng.library.mantis.hint;

/**
 * Created by pyt on 2017/6/18.
 */

public interface OnRetryListener {

	int TYPE_CONTENT = 0;

	int TYPE_EMPTY = 1;

	int TYPE_PROGRESS = 2;

	int TYPE_ERROR = 3;

	int TYPE_NETWORK_ERROR = 4;


	/**
	 * 进行重试的方法
	 *
	 * @param type
	 * @param tag
	 */
	void onRetry (int type, Object tag);
}
